home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
CD Fun House 1
/
CD Fun House (Wayzata Technology).iso
/
•Commercial Game Templates•
/
Colony Edit
/
Colony Edit.rsrc
/
CODE_2.txt
< prev
next >
Wrap
Text File
|
1988-10-11
|
81KB
|
1,417 lines
# near model CODE resource
# jump table entries: 80-80 (1 of them)
export_10:
00000000 4E56 FFDA link A6, -0x0026
00000004 4EBA 0D2A jsr [PC + 0xD2A /* 00000D30 */]
label00000008:
00000008 2F2D FD68 move.l -[A7], [A5 - 0x298]
0000000C A9DA syscall TEIdle
0000000E A9B4 syscall SystemTask
00000010 4267 clr.w -[A7]
00000012 3F3C FFFF move.w -[A7], 0xFFFF
00000016 486E FFE8 pea.l [A6 - 0x18]
0000001A A970 syscall GetNextEvent
0000001C 101F move.b D0, [A7]+
0000001E 4A00 tst.b D0
00000020 67E6 beq -0x18 /* 00000008 */
00000022 302E FFE8 move.w D0, [A6 - 0x18]
00000026 4EAD 003A jsr [A5 + 0x3A /* export_3 */]
0000002A 0001 0008 ori.b D1, 0x8
0000002E FFDA .invalid <<F/7/7>>
00000030 0010 FFD6 ori.b [A0], 0xD6
00000034 01A6 bclr -[A6], D0
00000036 FFD2 .invalid <<F/7/7>>
00000038 01A2 bclr -[A2], D0
0000003A 0296 FFCC 02B2 andi.l [A6], 0xFFCC02B2
00000040 4267 clr.w -[A7]
00000042 2F2E FFF2 move.l -[A7], [A6 - 0xE]
00000046 486E FFDC pea.l [A6 - 0x24]
0000004A A92C syscall FindWindow
0000004C 301F move.w D0, [A7]+
0000004E 3D40 FFE6 move.w [A6 - 0x1A], D0
00000052 302E FFE6 move.w D0, [A6 - 0x1A]
00000056 4EAD 003A jsr [A5 + 0x3A /* export_3 */]
0000005A 0001 0003 ori.b D1, 0x3
0000005E FFAA .invalid <<F/6/7>>
00000060 0156 bchg [A6], D0
00000062 016A 0002 bchg [A2 + 0x2], D0
00000066 42A7 clr.l -[A7]
00000068 A924 syscall FrontWindow
0000006A 205F movea.l A0, [A7]+
0000006C B1ED FD3C cmpa.l A0, [A5 - 0x2C4]
00000070 670C beq +0xE /* 0000007E */
00000072 2F2D FD3C move.l -[A7], [A5 - 0x2C4]
00000076 A91F syscall SelectWindow
00000078 2F2D FD3C move.l -[A7], [A5 - 0x2C4]
0000007C A873 syscall SetPort
label0000007E:
0000007E 486E FFF2 pea.l [A6 - 0xE]
00000082 A871 syscall GlobalToLocal
00000084 4267 clr.w -[A7]
00000086 2F2E FFF2 move.l -[A7], [A6 - 0xE]
0000008A 2F2D FD3C move.l -[A7], [A5 - 0x2C4]
0000008E 486E FFE0 pea.l [A6 - 0x20]
00000092 A96C syscall FindControl
00000094 301F move.w D0, [A7]+
00000096 3D40 FFE4 move.w [A6 - 0x1C], D0
0000009A 4A6E FFE4 tst.w [A6 - 0x1C]
0000009E 6742 beq +0x44 /* 000000E2 */
000000A0 4267 clr.w -[A7]
000000A2 2F2E FFE0 move.l -[A7], [A6 - 0x20]
000000A6 2F2E FFF2 move.l -[A7], [A6 - 0xE]
000000AA 42A7 clr.l -[A7]
000000AC A968 syscall TrackControl
000000AE 301F move.w D0, [A7]+
000000B0 4A40 tst.w D0
000000B2 672E beq +0x30 /* 000000E2 */
000000B4 202E FFE0 move.l D0, [A6 - 0x20]
000000B8 B0AD FD40 cmp.l D0, [A5 - 0x2C0]
000000BC 6606 bne +0x8 /* 000000C4 */
000000BE 4EBA 027A jsr [PC + 0x27A /* 0000033A */]
000000C2 601E bra +0x20 /* 000000E2 */
label000000C4:
000000C4 202E FFE0 move.l D0, [A6 - 0x20]
000000C8 B0AD FD44 cmp.l D0, [A5 - 0x2BC]
000000CC 6606 bne +0x8 /* 000000D4 */
000000CE 4EBA 05C2 jsr [PC + 0x5C2 /* 00000692 */]
000000D2 600E bra +0x10 /* 000000E2 */
label000000D4:
000000D4 202E FFE0 move.l D0, [A6 - 0x20]
000000D8 B0AD FD48 cmp.l D0, [A5 - 0x2B8]
000000DC 6604 bne +0x6 /* 000000E2 */
000000DE 4EBA 0722 jsr [PC + 0x722 /* 00000802 */]
label000000E2:
000000E2 082E 0001 FFF6 btst.b [A6 - 0xA], 0x1
000000E8 6708 beq +0xA /* 000000F2 */
000000EA 7001 moveq.l D0, 0x01
000000EC 1D40 FFDB move.b [A6 - 0x25], D0
000000F0 6004 bra +0x6 /* 000000F6 */
label000000F2:
000000F2 422E FFDB clr.b [A6 - 0x25]
label000000F6:
000000F6 206D FD5C movea.l A0, [A5 - 0x2A4]
000000FA 4267 clr.w -[A7]
000000FC 2F2E FFF2 move.l -[A7], [A6 - 0xE]
00000100 2050 movea.l A0, [A0]
00000102 4868 0008 pea.l [A0 + 0x8]
00000106 A8AD syscall PtInRect
00000108 101F move.b D0, [A7]+
0000010A 4A00 tst.b D0
0000010C 6726 beq +0x28 /* 00000134 */
0000010E 2F2D FD68 move.l -[A7], [A5 - 0x298]
00000112 A9D9 syscall TEDeactivate
00000114 2F2D FD5C move.l -[A7], [A5 - 0x2A4]
00000118 A9D8 syscall TEActivate
0000011A 2F2E FFF2 move.l -[A7], [A6 - 0xE]
0000011E 1F2E FFDB move.b -[A7], [A6 - 0x25]
00000122 2F2D FD5C move.l -[A7], [A5 - 0x2A4]
00000126 A9D4 syscall TEClick
00000128 7001 moveq.l D0, 0x01
0000012A 3B40 FE82 move.w [A5 - 0x17E], D0
0000012E 2B6D FD5C FD68 move.l [A5 - 0x298], [A5 - 0x2A4]
label00000134:
00000134 206D FD60 movea.l A0, [A5 - 0x2A0]
00000138 4267 clr.w -[A7]
0000013A 2F2E FFF2 move.l -[A7], [A6 - 0xE]
0000013E 2050 movea.l A0, [A0]
00000140 4868 0008 pea.l [A0 + 0x8]
00000144 A8AD syscall PtInRect
00000146 101F move.b D0, [A7]+
00000148 4A00 tst.b D0
0000014A 6726 beq +0x28 /* 00000172 */
0000014C 2F2D FD68 move.l -[A7], [A5 - 0x298]
00000150 A9D9 syscall TEDeactivate
00000152 2F2D FD60 move.l -[A7], [A5 - 0x2A0]
00000156 A9D8 syscall TEActivate
00000158 2F2E FFF2 move.l -[A7], [A6 - 0xE]
0000015C 1F2E FFDB move.b -[A7], [A6 - 0x25]
00000160 2F2D FD60 move.l -[A7], [A5 - 0x2A0]
00000164 A9D4 syscall TEClick
00000166 7002 moveq.l D0, 0x02
00000168 3B40 FE82 move.w [A5 - 0x17E], D0
0000016C 2B6D FD60 FD68 move.l [A5 - 0x298], [A5 - 0x2A0]
label00000172:
00000172 206D FD64 movea.l A0, [A5 - 0x29C]
00000176 4267 clr.w -[A7]
00000178 2F2E FFF2 move.l -[A7], [A6 - 0xE]
0000017C 2050 movea.l A0, [A0]
0000017E 4868 0008 pea.l [A0 + 0x8]
00000182 A8AD syscall PtInRect
00000184 101F move.b D0, [A7]+
00000186 4A00 tst.b D0
00000188 6700 FE7E beq -0x180 /* 00000008 */
0000018C 2F2D FD68 move.l -[A7], [A5 - 0x298]
00000190 A9D9 syscall TEDeactivate
00000192 2F2D FD64 move.l -[A7], [A5 - 0x29C]
00000196 A9D8 syscall TEActivate
00000198 2F2E FFF2 move.l -[A7], [A6 - 0xE]
0000019C 1F2E FFDB move.b -[A7], [A6 - 0x25]
000001A0 2F2D FD64 move.l -[A7], [A5 - 0x29C]
000001A4 A9D4 syscall TEClick
000001A6 7003 moveq.l D0, 0x03
000001A8 3B40 FE82 move.w [A5 - 0x17E], D0
000001AC 2B6D FD64 FD68 move.l [A5 - 0x298], [A5 - 0x29C]
000001B2 6000 FE54 bra -0x1AA /* 00000008 */
000001B6 42A7 clr.l -[A7]
000001B8 2F2E FFF2 move.l -[A7], [A6 - 0xE]
000001BC A93D syscall MenuSelect
000001BE 201F move.l D0, [A7]+
000001C0 2F00 move.l -[A7], D0
000001C2 4EBA 0862 jsr [PC + 0x862 /* 00000A26 */]
000001C6 588F addq.l A7, 4
000001C8 6000 FE3E bra -0x1C0 /* 00000008 */
000001CC 486E FFE8 pea.l [A6 - 0x18]
000001D0 2F2E FFDC move.l -[A7], [A6 - 0x24]
000001D4 A9B3 syscall SystemClick
000001D6 6000 FE30 bra -0x1CE /* 00000008 */
000001DA 082E 0000 FFF6 btst.b [A6 - 0xA], 0x0
000001E0 671E beq +0x20 /* 00000200 */
000001E2 203C 0000 00FF move.l D0, 0xFF
000001E8 C0AE FFEA and.l D0, [A6 - 0x16]
000001EC 42A7 clr.l -[A7]
000001EE 3F00 move.w -[A7], D0
000001F0 A93E syscall MenuKey
000001F2 201F move.l D0, [A7]+
000001F4 2F00 move.l -[A7], D0
000001F6 4EBA 082E jsr [PC + 0x82E /* 00000A26 */]
000001FA 588F addq.l A7, 4
000001FC 6000 FE0A bra -0x1F4 /* 00000008 */
label00000200:
00000200 203C 0000 00FF move.l D0, 0xFF
00000206 C0AE FFEA and.l D0, [A6 - 0x16]
0000020A 0C80 0000 0009 cmpi.l D0, 0x9 /* '\t' */
00000210 6600 008E bne +0x90 /* 000002A0 */
00000214 526D FE82 addq.w [A5 - 0x17E], 1
00000218 0C6D 0003 FE82 cmpi.w [A5 - 0x17E], 0x3
0000021E 6F06 ble +0x8 /* 00000226 */
00000220 7001 moveq.l D0, 0x01
00000222 3B40 FE82 move.w [A5 - 0x17E], D0
label00000226:
00000226 302D FE82 move.w D0, [A5 - 0x17E]
0000022A 4EAD 003A jsr [A5 + 0x3A /* export_3 */]
0000022E 0001 0003 ori.b D1, 0x3
00000232 FDD6 .invalid <<F/7/6>>
00000234 0006 0026 ori.b D6, 0x26 /* '&' */
00000238 0046 2F2D ori.w D6, 0x2F2D /* '/-' */
0000023C FD68 .extension 0xD68 <<F/4-5/6>> // unimplemented
0000023E A9D9 syscall TEDeactivate
00000240 2F2D FD5C move.l -[A7], [A5 - 0x2A4]
00000244 A9D8 syscall TEActivate
00000246 42A7 clr.l -[A7]
00000248 4878 7FFF push.l 0x7FFF
0000024C 2F2D FD5C move.l -[A7], [A5 - 0x2A4]
00000250 A9D1 syscall TESetSelect
00000252 2B6D FD5C FD68 move.l [A5 - 0x298], [A5 - 0x2A4]
00000258 6000 FDAE bra -0x250 /* 00000008 */
0000025C 2F2D FD68 move.l -[A7], [A5 - 0x298]
00000260 A9D9 syscall TEDeactivate
00000262 2F2D FD60 move.l -[A7], [A5 - 0x2A0]
00000266 A9D8 syscall TEActivate
00000268 42A7 clr.l -[A7]
0000026A 4878 7FFF push.l 0x7FFF
0000026E 2F2D FD60 move.l -[A7], [A5 - 0x2A0]
00000272 A9D1 syscall TESetSelect
00000274 2B6D FD60 FD68 move.l [A5 - 0x298], [A5 - 0x2A0]
0000027A 6000 FD8C bra -0x272 /* 00000008 */
0000027E 2F2D FD68 move.l -[A7], [A5 - 0x298]
00000282 A9D9 syscall TEDeactivate
00000284 2F2D FD64 move.l -[A7], [A5 - 0x29C]
00000288 A9D8 syscall TEActivate
0000028A 42A7 clr.l -[A7]
0000028C 4878 7FFF push.l 0x7FFF
00000290 2F2D FD64 move.l -[A7], [A5 - 0x29C]
00000294 A9D1 syscall TESetSelect
00000296 2B6D FD64 FD68 move.l [A5 - 0x298], [A5 - 0x29C]
0000029C 6000 FD6A bra -0x294 /* 00000008 */
label000002A0:
000002A0 42A7 clr.l -[A7]
000002A2 A924 syscall FrontWindow
000002A4 205F movea.l A0, [A7]+
000002A6 B1ED FD3C cmpa.l A0, [A5 - 0x2C4]
000002AA 6600 FD5C bne -0x2A2 /* 00000008 */
000002AE 203C 0000 00FF move.l D0, 0xFF
000002B4 C0AE FFEA and.l D0, [A6 - 0x16]
000002B8 3F00 move.w -[A7], D0
000002BA 2F2D FD68 move.l -[A7], [A5 - 0x298]
000002BE A9DC syscall TEKey
000002C0 4A2D FD58 tst.b [A5 - 0x2A8]
000002C4 6600 FD42 bne -0x2BC /* 00000008 */
000002C8 4EBA 0852 jsr [PC + 0x852 /* 00000B1C */]
000002CC 6000 FD3A bra -0x2C4 /* 00000008 */
000002D0 202E FFEA move.l D0, [A6 - 0x16]
000002D4 B0AD FD3C cmp.l D0, [A5 - 0x2C4]
000002D8 6600 FD2E bne -0x2D0 /* 00000008 */
000002DC 2F2E FFEA move.l -[A7], [A6 - 0x16]
000002E0 A922 syscall BeginUpdate
000002E2 4EBA 0564 jsr [PC + 0x564 /* 00000848 */]
000002E6 2F2E FFEA move.l -[A7], [A6 - 0x16]
000002EA A923 syscall EndUpdate
000002EC 6000 FD1A bra -0x2E4 /* 00000008 */
000002F0 202E FFEA move.l D0, [A6 - 0x16]
000002F4 B0AD FD3C cmp.l D0, [A5 - 0x2C4]
000002F8 6600 FD0E bne -0x2F0 /* 00000008 */
000002FC 082E 0000 FFF7 btst.b [A6 - 0x9], 0x0
00000302 6712 beq +0x14 /* 00000316 */
00000304 2F2D FD68 move.l -[A7], [A5 - 0x298]
00000308 A9D8 syscall TEActivate
0000030A 4267 clr.w -[A7]
0000030C 4EBA 0D1C jsr [PC + 0xD1C /* 0000102A */]
00000310 301F move.w D0, [A7]+
00000312 6000 FCF4 bra -0x30A /* 00000008 */
label00000316:
00000316 2F2D FD68 move.l -[A7], [A5 - 0x298]
0000031A A9D9 syscall TEDeactivate
0000031C 42A7 clr.l -[A7]
0000031E A9FC syscall ZeroScrap
00000320 201F move.l D0, [A7]+
00000322 4267 clr.w -[A7]
00000324 4EBA 0D32 jsr [PC + 0xD32 /* 00001058 */]
00000328 301F move.w D0, [A7]+
0000032A 6000 FCDC bra -0x322 /* 00000008 */
0000032E 4E5E unlink A6
00000330 4E75 rts
00000332 4D41 chk.w D6, D1
00000334 494E chk.w D4, A6
00000336 2020 move.l D0, -[A0]
00000338 2020 move.l D0, -[A0]
fn0000033A:
0000033A 4E56 FC98 link A6, -0x0368
0000033E 4A2D FD58 tst.b [A5 - 0x2A8]
00000342 670A beq +0xC /* 0000034E */
00000344 4EBA 04D2 jsr [PC + 0x4D2 /* 00000818 */]
00000348 4A00 tst.b D0
0000034A 6700 025E beq +0x260 /* 000005AA */
label0000034E:
0000034E 306D FF8E movea.w A0, [A5 - 0x72]
00000352 2008 move.l D0, A0
00000354 81FC 0002 divs.w D0, 0x2
00000358 0640 FF51 addi.w D0, 0xFF51
0000035C 3D40 FFFE move.w [A6 - 0x2], D0
00000360 302D FF8C move.w D0, [A5 - 0x74]
00000364 0640 0014 addi.w D0, 0x14
00000368 48C0 ext.l D0
0000036A 81FC 0002 divs.w D0, 0x2
0000036E 0640 FF9C addi.w D0, 0xFF9C
00000372 3D40 FFFC move.w [A6 - 0x4], D0
00000376 2F2E FFFC move.l -[A7], [A6 - 0x4]
0000037A 486E FEB2 pea.l [A6 - 0x14E]
0000037E 42A7 clr.l -[A7]
00000380 3F3C 0001 move.w -[A7], 0x1
00000384 486D FE86 pea.l [A5 - 0x17A]
00000388 42A7 clr.l -[A7]
0000038A 486E FFB2 pea.l [A6 - 0x4E]
0000038E 4EBA 0AFA jsr [PC + 0xAFA /* 00000E8A */]
00000392 4A2E FFB2 tst.b [A6 - 0x4E]
00000396 6700 0212 beq +0x214 /* 000005AA */
0000039A 2F2D FD3C move.l -[A7], [A5 - 0x2C4]
0000039E A915 syscall ShowWindow
000003A0 42A7 clr.l -[A7]
000003A2 3F3C 0004 move.w -[A7], 0x4
000003A6 A9B9 syscall GetCursor
000003A8 205F movea.l A0, [A7]+
000003AA 2F10 move.l -[A7], [A0]
000003AC A851 syscall SetCursor
000003AE 4EBA 029C jsr [PC + 0x29C /* 0000064C */]
000003B2 426E FDAE clr.w [A6 - 0x252]
000003B6 6016 bra +0x18 /* 000003CE */
label000003B8:
000003B8 41ED FD6C lea.l A0, [A5 - 0x294]
000003BC D0EE FDAE add.w A0, [A6 - 0x252]
000003C0 326E FDAE movea.w A1, [A6 - 0x252]
000003C4 D3CE add.l A1, A6
000003C6 10A9 FFBC move.b [A0], [A1 - 0x44]
000003CA 526E FDAE addq.w [A6 - 0x252], 1
label000003CE:
000003CE 0C6E 0100 FDAE cmpi.w [A6 - 0x252], 0x100
000003D4 6DE2 blt -0x1C /* 000003B8 */
000003D6 3B6E FFB8 FE6C move.w [A5 - 0x194], [A6 - 0x48]
000003DC 4267 clr.w -[A7]
000003DE 486E FDB2 pea.l [A6 - 0x24E]
000003E2 486E FDB0 pea.l [A6 - 0x250]
000003E6 4EBA 0B88 jsr [PC + 0xB88 /* 00000F70 */]
000003EA 301F move.w D0, [A7]+
000003EC 3F00 move.w -[A7], D0
000003EE 4EBA 0888 jsr [PC + 0x888 /* 00000C78 */]
000003F2 548F addq.l A7, 2
000003F4 4267 clr.w -[A7]
000003F6 42A7 clr.l -[A7]
000003F8 3F2D FE6C move.w -[A7], [A5 - 0x194]
000003FC 4EBA 0B96 jsr [PC + 0xB96 /* 00000F94 */]
00000400 301F move.w D0, [A7]+
00000402 3F00 move.w -[A7], D0
00000404 4EBA 0872 jsr [PC + 0x872 /* 00000C78 */]
00000408 548F addq.l A7, 2
0000040A 4267 clr.w -[A7]
0000040C 486D FD6C pea.l [A5 - 0x294]
00000410 3F2D FE6C move.w -[A7], [A5 - 0x194]
00000414 486D FD5A pea.l [A5 - 0x2A6]
00000418 4EBA 0AB8 jsr [PC + 0xAB8 /* 00000ED2 */]
0000041C 301F move.w D0, [A7]+
0000041E 3D40 FDAC move.w [A6 - 0x254], D0
00000422 3F2E FDAC move.w -[A7], [A6 - 0x254]
00000426 4EBA 0850 jsr [PC + 0x850 /* 00000C78 */]
0000042A 548F addq.l A7, 2
0000042C 4267 clr.w -[A7]
0000042E 3F2D FD5A move.w -[A7], [A5 - 0x2A6]
00000432 486E FD98 pea.l [A6 - 0x268]
00000436 4EBA 0B7E jsr [PC + 0xB7E /* 00000FB6 */]
0000043A 301F move.w D0, [A7]+
0000043C 3D40 FDAC move.w [A6 - 0x254], D0
00000440 3F2E FDAC move.w -[A7], [A6 - 0x254]
00000444 4EBA 0832 jsr [PC + 0x832 /* 00000C78 */]
00000448 548F addq.l A7, 2
0000044A 42A7 clr.l -[A7]
0000044C 206E FD98 movea.l A0, [A6 - 0x268]
00000450 4868 0002 pea.l [A0 + 0x2]
00000454 4EBA 0A48 jsr [PC + 0xA48 /* 00000E9E */]
00000458 205F movea.l A0, [A7]+
0000045A 2B48 FE6E move.l [A5 - 0x192], A0
0000045E 2D6E FD98 FD9C move.l [A6 - 0x264], [A6 - 0x268]
00000464 426D FE84 clr.w [A5 - 0x17C]
00000468 4267 clr.w -[A7]
0000046A 3F2D FD5A move.w -[A7], [A5 - 0x2A6]
0000046E 3F3C 0001 move.w -[A7], 0x1
00000472 42A7 clr.l -[A7]
00000474 4EBA 0B64 jsr [PC + 0xB64 /* 00000FDA */]
00000478 301F move.w D0, [A7]+
0000047A 4267 clr.w -[A7]
0000047C 3F2D FD5A move.w -[A7], [A5 - 0x2A6]
00000480 486E FD9C pea.l [A6 - 0x264]
00000484 2F2D FE6E move.l -[A7], [A5 - 0x192]
00000488 4EBA 0A9C jsr [PC + 0xA9C /* 00000F26 */]
0000048C 301F move.w D0, [A7]+
0000048E 3D40 FDAC move.w [A6 - 0x254], D0
00000492 3F2E FDAC move.w -[A7], [A6 - 0x254]
00000496 4EBA 07E0 jsr [PC + 0x7E0 /* 00000C78 */]
0000049A 548F addq.l A7, 2
0000049C 2F2D FE6E move.l -[A7], [A5 - 0x192]
000004A0 4EBA 0114 jsr [PC + 0x114 /* 000005B6 */]
000004A4 588F addq.l A7, 4
000004A6 2B40 FE7E move.l [A5 - 0x182], D0
000004AA 7001 moveq.l D0, 0x01
000004AC C0AD FE7E and.l D0, [A5 - 0x182]
000004B0 0C80 0000 0001 cmpi.l D0, 0x1
000004B6 664C bne +0x4E /* 00000504 */
000004B8 4267 clr.w -[A7]
000004BA 3F2D FD5A move.w -[A7], [A5 - 0x2A6]
000004BE 3F3C 0001 move.w -[A7], 0x1
000004C2 42A7 clr.l -[A7]
000004C4 4EBA 0B14 jsr [PC + 0xB14 /* 00000FDA */]
000004C8 301F move.w D0, [A7]+
000004CA 4267 clr.w -[A7]
000004CC 3F2D FD5A move.w -[A7], [A5 - 0x2A6]
000004D0 486E FD9C pea.l [A6 - 0x264]
000004D4 206D FE6E movea.l A0, [A5 - 0x192]
000004D8 4868 0001 pea.l [A0 + 0x1]
000004DC 4EBA 0A48 jsr [PC + 0xA48 /* 00000F26 */]
000004E0 301F move.w D0, [A7]+
000004E2 3D40 FDAC move.w [A6 - 0x254], D0
000004E6 3F2E FDAC move.w -[A7], [A6 - 0x254]
000004EA 4EBA 078C jsr [PC + 0x78C /* 00000C78 */]
000004EE 548F addq.l A7, 2
000004F0 2F2D FE6E move.l -[A7], [A5 - 0x192]
000004F4 4EBA 00C0 jsr [PC + 0xC0 /* 000005B6 */]
000004F8 588F addq.l A7, 4
000004FA 2B40 FE7E move.l [A5 - 0x182], D0
000004FE 7001 moveq.l D0, 0x01
00000500 3B40 FE84 move.w [A5 - 0x17C], D0
label00000504:
00000504 4267 clr.w -[A7]
00000506 42A7 clr.l -[A7]
00000508 3F2E FDB0 move.w -[A7], [A6 - 0x250]
0000050C 4EBA 0A86 jsr [PC + 0xA86 /* 00000F94 */]
00000510 301F move.w D0, [A7]+
00000512 3F00 move.w -[A7], D0
00000514 4EBA 0762 jsr [PC + 0x762 /* 00000C78 */]
00000518 548F addq.l A7, 2
0000051A 206D FE7E movea.l A0, [A5 - 0x182]
0000051E 2B50 FE72 move.l [A5 - 0x18E], [A0]
00000522 206D FE7E movea.l A0, [A5 - 0x182]
00000526 2B68 0004 FE76 move.l [A5 - 0x18A], [A0 + 0x4]
0000052C 206D FE7E movea.l A0, [A5 - 0x182]
00000530 2B68 0008 FE7A move.l [A5 - 0x186], [A0 + 0x8]
00000536 2F2D FE72 move.l -[A7], [A5 - 0x18E]
0000053A 486E FC98 pea.l [A6 - 0x368]
0000053E 4EBA 0AD8 jsr [PC + 0xAD8 /* 00001018 */]
00000542 7000 moveq.l D0, 0x00
00000544 102E FC98 move.b D0, [A6 - 0x368]
00000548 486E FC99 pea.l [A6 - 0x367]
0000054C 2F00 move.l -[A7], D0
0000054E 2F2D FD5C move.l -[A7], [A5 - 0x2A4]
00000552 A9CF syscall TESetText
00000554 2F2D FE76 move.l -[A7], [A5 - 0x18A]
00000558 486E FC98 pea.l [A6 - 0x368]
0000055C 4EBA 0ABA jsr [PC + 0xABA /* 00001018 */]
00000560 7000 moveq.l D0, 0x00
00000562 102E FC98 move.b D0, [A6 - 0x368]
00000566 486E FC99 pea.l [A6 - 0x367]
0000056A 2F00 move.l -[A7], D0
0000056C 2F2D FD60 move.l -[A7], [A5 - 0x2A0]
00000570 A9CF syscall TESetText
00000572 2F2D FE7A move.l -[A7], [A5 - 0x186]
00000576 486E FC98 pea.l [A6 - 0x368]
0000057A 4EBA 0A9C jsr [PC + 0xA9C /* 00001018 */]
0000057E 7000 moveq.l D0, 0x00
00000580 102E FC98 move.b D0, [A6 - 0x368]
00000584 486E FC99 pea.l [A6 - 0x367]
00000588 2F00 move.l -[A7], D0
0000058A 2F2D FD64 move.l -[A7], [A5 - 0x29C]
0000058E A9CF syscall TESetText
00000590 4878 7FFF push.l 0x7FFF
00000594 4878 7FFF push.l 0x7FFF
00000598 2F2D FD5C move.l -[A7], [A5 - 0x2A4]
0000059C A9D1 syscall TESetSelect
0000059E 206D FD3C movea.l A0, [A5 - 0x2C4]
000005A2 4868 0010 pea.l [A0 + 0x10]
000005A6 A928 syscall InvalRect
000005A8 A850 syscall InitCursor
label000005AA:
000005AA 4E5E unlink A6
000005AC 4E75 rts
000005AE 444F neg.w A7
000005B0 4F50 chk.w D7, [A0]
000005B2 454E chk.w D2, A6
000005B4 2020 move.l D0, -[A0]
fn000005B6:
000005B6 4E56 FFFA link A6, -0x0006
000005BA 2D6E 0008 FFFC move.l [A6 - 0x4], [A6 + 0x8]
000005C0 42AE FFFC clr.l [A6 - 0x4]
000005C4 3D7C 4800 FFFA move.w [A6 - 0x6], 0x4800 /* 'H\0' */
000005CA 604E bra +0x50 /* 0000061A */
label000005CC:
000005CC 306E FFFA movea.w A0, [A6 - 0x6]
000005D0 D1EE 0008 add.l A0, [A6 + 0x8]
000005D4 0C10 0053 cmpi.b [A0], 0x53 /* 'S' */
000005D8 663C bne +0x3E /* 00000616 */
000005DA 306E FFFA movea.w A0, [A6 - 0x6]
000005DE D1EE 0008 add.l A0, [A6 + 0x8]
000005E2 0C28 0049 0001 cmpi.b [A0 + 0x1], 0x49 /* 'I' */
000005E8 662C bne +0x2E /* 00000616 */
000005EA 306E FFFA movea.w A0, [A6 - 0x6]
000005EE D1EE 0008 add.l A0, [A6 + 0x8]
000005F2 0C28 005A 0002 cmpi.b [A0 + 0x2], 0x5A /* 'Z' */
000005F8 661C bne +0x1E /* 00000616 */
000005FA 306E FFFA movea.w A0, [A6 - 0x6]
000005FE D1EE 0008 add.l A0, [A6 + 0x8]
00000602 0C28 0045 0003 cmpi.b [A0 + 0x3], 0x45 /* 'E' */
00000608 660C bne +0xE /* 00000616 */
0000060A 306E FFFA movea.w A0, [A6 - 0x6]
0000060E D1EE 0008 add.l A0, [A6 + 0x8]
00000612 2D48 FFFC move.l [A6 - 0x4], A0
label00000616:
00000616 526E FFFA addq.w [A6 - 0x6], 1
label0000061A:
0000061A 0C6E 4E00 FFFA cmpi.w [A6 - 0x6], 0x4E00 /* 'N\0' */
00000620 6DAA blt -0x54 /* 000005CC */
00000622 4AAE FFFC tst.l [A6 - 0x4]
00000626 660E bne +0x10 /* 00000636 */
00000628 3F3C FFFF move.w -[A7], 0xFFFF
0000062C 4EBA 064A jsr [PC + 0x64A /* 00000C78 */]
00000630 548F addq.l A7, 2
00000632 A9F4 syscall ExitToShell
00000634 600A bra +0xC /* 00000640 */
label00000636:
00000636 206E FFFC movea.l A0, [A6 - 0x4]
0000063A 41E8 0042 lea.l A0, [A0 + 0x42]
0000063E 2008 move.l D0, A0
label00000640:
00000640 4E5E unlink A6
00000642 4E75 rts
00000644 4745 chk.w D3, D5
00000646 5444 addq.w D4, 2
00000648 4154 chk.w D0, [A4]
0000064A 4150 chk.w D0, [A0]
fn0000064C:
0000064C 4E56 FFAE link A6, -0x0052
00000650 4A6D FD5A tst.w [A5 - 0x2A6]
00000654 671E beq +0x20 /* 00000674 */
00000656 4267 clr.w -[A7]
00000658 3F2D FD5A move.w -[A7], [A5 - 0x2A6]
0000065C 4EBA 08AC jsr [PC + 0x8AC /* 00000F0A */]
00000660 301F move.w D0, [A7]+
00000662 3D40 FFAE move.w [A6 - 0x52], D0
00000666 426D FD5A clr.w [A5 - 0x2A6]
0000066A 3F2E FFAE move.w -[A7], [A6 - 0x52]
0000066E 4EBA 0608 jsr [PC + 0x608 /* 00000C78 */]
00000672 548F addq.l A7, 2
label00000674:
00000674 4AAD FE6E tst.l [A5 - 0x192]
00000678 670C beq +0xE /* 00000686 */
0000067A 2F2D FE6E move.l -[A7], [A5 - 0x192]
0000067E 4EBA 082A jsr [PC + 0x82A /* 00000EAA */]
00000682 42AD FE6E clr.l [A5 - 0x192]
label00000686:
00000686 4E5E unlink A6
00000688 4E75 rts
0000068A 434C chk.w D1, A4
0000068C 4F53 chk.w D7, [A3]
0000068E 4543 chk.w D2, D3
00000690 5552 subq.w [A2], 2
fn00000692:
00000692 4E56 FEEC link A6, -0x0114
00000696 206D FD5C movea.l A0, [A5 - 0x2A4]
0000069A 2050 movea.l A0, [A0]
0000069C 2F28 003E move.l -[A7], [A0 + 0x3E]
000006A0 486E FF00 pea.l [A6 - 0x100]
000006A4 A990 syscall GetDialogItemText/GetIText
000006A6 486E FF00 pea.l [A6 - 0x100]
000006AA 486E FEFA pea.l [A6 - 0x106]
000006AE 4EBA 0952 jsr [PC + 0x952 /* 00001002 */]
000006B2 206D FE7E movea.l A0, [A5 - 0x182]
000006B6 20AE FEFA move.l [A0], [A6 - 0x106]
000006BA 206D FE7E movea.l A0, [A5 - 0x182]
000006BE 41E8 0014 lea.l A0, [A0 + 0x14]
000006C2 2D48 FEEE move.l [A6 - 0x112], A0
000006C6 2D6E FEFA FEF6 move.l [A6 - 0x10A], [A6 - 0x106]
000006CC 426E FEFE clr.w [A6 - 0x102]
000006D0 600E bra +0x10 /* 000006E0 */
label000006D2:
000006D2 202E FEF6 move.l D0, [A6 - 0x10A]
000006D6 E288 lsr D0, 1
000006D8 2D40 FEF6 move.l [A6 - 0x10A], D0
000006DC 526E FEFE addq.w [A6 - 0x102], 1
label000006E0:
000006E0 4AAE FEF6 tst.l [A6 - 0x10A]
000006E4 66EC bne -0x12 /* 000006D2 */
000006E6 206E FEEE movea.l A0, [A6 - 0x112]
000006EA 30AE FEFE move.w [A0], [A6 - 0x102]
000006EE 206D FD60 movea.l A0, [A5 - 0x2A0]
000006F2 2050 movea.l A0, [A0]
000006F4 2F28 003E move.l -[A7], [A0 + 0x3E]
000006F8 486E FF00 pea.l [A6 - 0x100]
000006FC A990 syscall GetDialogItemText/GetIText
000006FE 486E FF00 pea.l [A6 - 0x100]
00000702 486E FEFA pea.l [A6 - 0x106]
00000706 4EBA 08FA jsr [PC + 0x8FA /* 00001002 */]
0000070A 206D FE7E movea.l A0, [A5 - 0x182]
0000070E 216E FEFA 0004 move.l [A0 + 0x4], [A6 - 0x106]
00000714 206D FE7E movea.l A0, [A5 - 0x182]
00000718 41E8 0016 lea.l A0, [A0 + 0x16]
0000071C 2D48 FEEE move.l [A6 - 0x112], A0
00000720 2D6E FEFA FEF6 move.l [A6 - 0x10A], [A6 - 0x106]
00000726 426E FEFE clr.w [A6 - 0x102]
0000072A 600E bra +0x10 /* 0000073A */
label0000072C:
0000072C 202E FEF6 move.l D0, [A6 - 0x10A]
00000730 E288 lsr D0, 1
00000732 2D40 FEF6 move.l [A6 - 0x10A], D0
00000736 526E FEFE addq.w [A6 - 0x102], 1
label0000073A:
0000073A 4AAE FEF6 tst.l [A6 - 0x10A]
0000073E 66EC bne -0x12 /* 0000072C */
00000740 206E FEEE movea.l A0, [A6 - 0x112]
00000744 30AE FEFE move.w [A0], [A6 - 0x102]
00000748 206D FD64 movea.l A0, [A5 - 0x29C]
0000074C 2050 movea.l A0, [A0]
0000074E 2F28 003E move.l -[A7], [A0 + 0x3E]
00000752 486E FF00 pea.l [A6 - 0x100]
00000756 A990 syscall GetDialogItemText/GetIText
00000758 486E FF00 pea.l [A6 - 0x100]
0000075C 486E FEFA pea.l [A6 - 0x106]
00000760 4EBA 08A0 jsr [PC + 0x8A0 /* 00001002 */]
00000764 206D FE7E movea.l A0, [A5 - 0x182]
00000768 216E FEFA 0008 move.l [A0 + 0x8], [A6 - 0x106]
0000076E 206D FE7E movea.l A0, [A5 - 0x182]
00000772 41E8 0018 lea.l A0, [A0 + 0x18]
00000776 2D48 FEEE move.l [A6 - 0x112], A0
0000077A 2D6E FEFA FEF6 move.l [A6 - 0x10A], [A6 - 0x106]
00000780 426E FEFE clr.w [A6 - 0x102]
00000784 600E bra +0x10 /* 00000794 */
label00000786:
00000786 202E FEF6 move.l D0, [A6 - 0x10A]
0000078A E288 lsr D0, 1
0000078C 2D40 FEF6 move.l [A6 - 0x10A], D0
00000790 526E FEFE addq.w [A6 - 0x102], 1
label00000794:
00000794 4AAE FEF6 tst.l [A6 - 0x10A]
00000798 66EC bne -0x12 /* 00000786 */
0000079A 206E FEEE movea.l A0, [A6 - 0x112]
0000079E 30AE FEFE move.w [A0], [A6 - 0x102]
000007A2 42A7 clr.l -[A7]
000007A4 2F2D FE6E move.l -[A7], [A5 - 0x192]
000007A8 4EBA 070A jsr [PC + 0x70A /* 00000EB4 */]
000007AC 201F move.l D0, [A7]+
000007AE 2D40 FEF2 move.l [A6 - 0x10E], D0
000007B2 4267 clr.w -[A7]
000007B4 3F2D FD5A move.w -[A7], [A5 - 0x2A6]
000007B8 3F3C 0001 move.w -[A7], 0x1
000007BC 42A7 clr.l -[A7]
000007BE 4EBA 081A jsr [PC + 0x81A /* 00000FDA */]
000007C2 301F move.w D0, [A7]+
000007C4 306D FE84 movea.w A0, [A5 - 0x17C]
000007C8 D1ED FE6E add.l A0, [A5 - 0x192]
000007CC 4267 clr.w -[A7]
000007CE 3F2D FD5A move.w -[A7], [A5 - 0x2A6]
000007D2 486E FEF2 pea.l [A6 - 0x10E]
000007D6 4850 pea.l [A0]
000007D8 4EBA 0750 jsr [PC + 0x750 /* 00000F2A */]
000007DC 301F move.w D0, [A7]+
000007DE 3D40 FEEC move.w [A6 - 0x114], D0
000007E2 3F2E FEEC move.w -[A7], [A6 - 0x114]
000007E6 4EBA 0490 jsr [PC + 0x490 /* 00000C78 */]
000007EA 548F addq.l A7, 2
000007EC 4A6E FEEC tst.w [A6 - 0x114]
000007F0 6604 bne +0x6 /* 000007F6 */
000007F2 4EBA 0338 jsr [PC + 0x338 /* 00000B2C */]
label000007F6:
000007F6 4E5E unlink A6
000007F8 4E75 rts
000007FA 444F neg.w A7
000007FC 5341 subq.w D1, 1
000007FE 5645 addq.w D5, 3
00000800 2020 move.l D0, -[A0]
fn00000802:
00000802 4A2D FD58 tst.b [A5 - 0x2A8]
00000806 6708 beq +0xA /* 00000810 */
00000808 4EBA 000E jsr [PC + 0xE /* 00000818 */]
0000080C 4A00 tst.b D0
0000080E 6706 beq +0x8 /* 00000816 */
label00000810:
00000810 4EBA FE3A jsr [PC - 0x1C6 /* 0000064C */]
00000814 A9F4 syscall ExitToShell
label00000816:
00000816 4E75 rts
fn00000818:
00000818 4267 clr.w -[A7]
0000081A 3F3C 0065 move.w -[A7], 0x65 /* 'e' */
0000081E 42A7 clr.l -[A7]
00000820 A988 syscall CautionAlert
00000822 301F move.w D0, [A7]+
00000824 4EAD 003A jsr [A5 + 0x3A /* export_3 */]
00000828 0001 0003 ori.b D1, 0x3
0000082C 0018 0006 ori.b [A0]+, 0x6
00000830 000A 000E ori.b A2, 0xE
00000834 4EBA FE5C jsr [PC - 0x1A4 /* 00000692 */]
00000838 600A bra +0xC /* 00000844 */
0000083A 4EBA 02F0 jsr [PC + 0x2F0 /* 00000B2C */]
0000083E 6004 bra +0x6 /* 00000844 */
00000840 7000 moveq.l D0, 0x00
00000842 6002 bra +0x4 /* 00000846 */
label00000844:
00000844 7001 moveq.l D0, 0x01
label00000846:
00000846 4E75 rts
fn00000848:
00000848 4E56 FE90 link A6, -0x0170
0000084C 2F2D FD3C move.l -[A7], [A5 - 0x2C4]
00000850 A873 syscall SetPort
00000852 206D FD3C movea.l A0, [A5 - 0x2C4]
00000856 4868 0010 pea.l [A0 + 0x10]
0000085A A8A3 syscall EraseRect
0000085C 42A7 clr.l -[A7]
0000085E 4879 4943 4E23 push.l 0x49434E23 /* 'ICN#' */
00000864 3F3C 03E8 move.w -[A7], 0x3E8
00000868 A9A0 syscall GetResource
0000086A 205F movea.l A0, [A7]+
0000086C 2D48 FEA4 move.l [A6 - 0x15C], A0
00000870 2F2E FEA4 move.l -[A7], [A6 - 0x15C]
00000874 4EBA 0652 jsr [PC + 0x652 /* 00000EC8 */]
00000878 206E FEA4 movea.l A0, [A6 - 0x15C]
0000087C 2D50 FE96 move.l [A6 - 0x16A], [A0]
00000880 7004 moveq.l D0, 0x04
00000882 3D40 FE9A move.w [A6 - 0x166], D0
00000886 426E FE9C clr.w [A6 - 0x164]
0000088A 426E FE9E clr.w [A6 - 0x162]
0000088E 7020 moveq.l D0, 0x20
00000890 3D40 FEA0 move.w [A6 - 0x160], D0
00000894 7020 moveq.l D0, 0x20
00000896 3D40 FEA2 move.w [A6 - 0x15E], D0
0000089A 486E FFF8 pea.l [A6 - 0x8]
0000089E 3F3C 0064 move.w -[A7], 0x64 /* 'd' */
000008A2 3F3C 000A move.w -[A7], 0xA /* '\n' */
000008A6 3F3C 0084 move.w -[A7], 0x84
000008AA 3F3C 002A move.w -[A7], 0x2A /* '*' */
000008AE A8A7 syscall SetRect
000008B0 486E FE96 pea.l [A6 - 0x16A]
000008B4 206D FD3C movea.l A0, [A5 - 0x2C4]
000008B8 4868 0002 pea.l [A0 + 0x2]
000008BC 486E FE9C pea.l [A6 - 0x164]
000008C0 486E FFF8 pea.l [A6 - 0x8]
000008C4 4267 clr.w -[A7]
000008C6 42A7 clr.l -[A7]
000008C8 A8EC syscall CopyBits
000008CA 3F3C 0003 move.w -[A7], 0x3
000008CE 3F3C 0003 move.w -[A7], 0x3
000008D2 A89B syscall PenSize
000008D4 4267 clr.w -[A7]
000008D6 3F3C 0032 move.w -[A7], 0x32 /* '2' */
000008DA A893 syscall MoveTo
000008DC 3F3C 03E8 move.w -[A7], 0x3E8
000008E0 4267 clr.w -[A7]
000008E2 A892 syscall Line
000008E4 42A7 clr.l -[A7]
000008E6 3F3C 03E8 move.w -[A7], 0x3E8
000008EA A9BC syscall GetPicture
000008EC 205F movea.l A0, [A7]+
000008EE 2D48 FE90 move.l [A6 - 0x170], A0
000008F2 206E FE90 movea.l A0, [A6 - 0x170]
000008F6 226E FE90 movea.l A1, [A6 - 0x170]
000008FA 2251 movea.l A1, [A1]
000008FC 2050 movea.l A0, [A0]
000008FE 3028 0008 move.w D0, [A0 + 0x8]
00000902 9069 0004 sub.w D0, [A1 + 0x4]
00000906 3D40 FE94 move.w [A6 - 0x16C], D0
0000090A 306E FE94 movea.w A0, [A6 - 0x16C]
0000090E 2008 move.l D0, A0
00000910 81FC 0002 divs.w D0, 0x2
00000914 323C 00DC move.w D1, 0xDC
00000918 9240 sub.w D1, D0
0000091A 3D41 FFFA move.w [A6 - 0x6], D1
0000091E 302E FFFA move.w D0, [A6 - 0x6]
00000922 D06E FE94 add.w D0, [A6 - 0x16C]
00000926 3D40 FFFE move.w [A6 - 0x2], D0
0000092A 3D7C 00C5 FFF8 move.w [A6 - 0x8], 0xC5
00000930 206E FE90 movea.l A0, [A6 - 0x170]
00000934 2050 movea.l A0, [A0]
00000936 226E FE90 movea.l A1, [A6 - 0x170]
0000093A 2251 movea.l A1, [A1]
0000093C 3028 0006 move.w D0, [A0 + 0x6]
00000940 9069 0002 sub.w D0, [A1 + 0x2]
00000944 0640 00C5 addi.w D0, 0xC5
00000948 3D40 FFFC move.w [A6 - 0x4], D0
0000094C 2F2E FE90 move.l -[A7], [A6 - 0x170]
00000950 486E FFF8 pea.l [A6 - 0x8]
00000954 A8F6 syscall DrawPicture
00000956 3F3C 008C move.w -[A7], 0x8C
0000095A 3F3C 001E move.w -[A7], 0x1E
0000095E A893 syscall MoveTo
00000960 486D FD6C pea.l [A5 - 0x294]
00000964 A884 syscall DrawString
00000966 486E FFF8 pea.l [A6 - 0x8]
0000096A 3F3C 0032 move.w -[A7], 0x32 /* '2' */
0000096E 3F3C 0050 move.w -[A7], 0x50 /* 'P' */
00000972 3F3C 0096 move.w -[A7], 0x96
00000976 3F3C 0063 move.w -[A7], 0x63 /* 'c' */
0000097A A8A7 syscall SetRect
0000097C 486E FFF8 pea.l [A6 - 0x8]
00000980 A8A1 syscall FrameRect
00000982 486E FFF8 pea.l [A6 - 0x8]
00000986 3F3C 0032 move.w -[A7], 0x32 /* '2' */
0000098A 3F3C 0079 move.w -[A7], 0x79 /* 'y' */
0000098E 3F3C 0096 move.w -[A7], 0x96
00000992 3F3C 008C move.w -[A7], 0x8C
00000996 A8A7 syscall SetRect
00000998 486E FFF8 pea.l [A6 - 0x8]
0000099C A8A1 syscall FrameRect
0000099E 486E FFF8 pea.l [A6 - 0x8]
000009A2 3F3C 0032 move.w -[A7], 0x32 /* '2' */
000009A6 3F3C 00A2 move.w -[A7], 0xA2
000009AA 3F3C 0096 move.w -[A7], 0x96
000009AE 3F3C 00B5 move.w -[A7], 0xB5
000009B2 A8A7 syscall SetRect
000009B4 486E FFF8 pea.l [A6 - 0x8]
000009B8 A8A1 syscall FrameRect
000009BA 3F3C 0032 move.w -[A7], 0x32 /* '2' */
000009BE 3F3C 004B move.w -[A7], 0x4B /* 'K' */
000009C2 A893 syscall MoveTo
000009C4 486D FE8C pea.l [A5 - 0x174]
000009C8 A884 syscall DrawString
000009CA 3F3C 0032 move.w -[A7], 0x32 /* '2' */
000009CE 3F3C 0074 move.w -[A7], 0x74 /* 't' */
000009D2 A893 syscall MoveTo
000009D4 486D FE96 pea.l [A5 - 0x16A]
000009D8 A884 syscall DrawString
000009DA 3F3C 0032 move.w -[A7], 0x32 /* '2' */
000009DE 3F3C 009D move.w -[A7], 0x9D
000009E2 A893 syscall MoveTo
000009E4 486D FE9C pea.l [A5 - 0x164]
000009E8 A884 syscall DrawString
000009EA 206D FD3C movea.l A0, [A5 - 0x2C4]
000009EE 4868 0010 pea.l [A0 + 0x10]
000009F2 2F2D FD5C move.l -[A7], [A5 - 0x2A4]
000009F6 A9D3 syscall TEUpdate
000009F8 206D FD3C movea.l A0, [A5 - 0x2C4]
000009FC 4868 0010 pea.l [A0 + 0x10]
00000A00 2F2D FD60 move.l -[A7], [A5 - 0x2A0]
00000A04 A9D3 syscall TEUpdate
00000A06 206D FD3C movea.l A0, [A5 - 0x2C4]
00000A0A 4868 0010 pea.l [A0 + 0x10]
00000A0E 2F2D FD64 move.l -[A7], [A5 - 0x29C]
00000A12 A9D3 syscall TEUpdate
00000A14 2F2D FD3C move.l -[A7], [A5 - 0x2C4]
00000A18 A969 syscall DrawControls
00000A1A 4E5E unlink A6
00000A1C 4E75 rts
00000A1E 444F neg.w A7
00000A20 5550 subq.w [A0], 2
00000A22 4441 neg.w D1
00000A24 5445 addq.w D5, 2
fn00000A26:
00000A26 4E56 FEFC link A6, -0x0104
00000A2A 4267 clr.w -[A7]
00000A2C 2F2E 0008 move.l -[A7], [A6 + 0x8]
00000A30 A86A syscall HiWord
00000A32 301F move.w D0, [A7]+
00000A34 3D40 FFFE move.w [A6 - 0x2], D0
00000A38 4267 clr.w -[A7]
00000A3A 2F2E 0008 move.l -[A7], [A6 + 0x8]
00000A3E A86B syscall LoWord
00000A40 301F move.w D0, [A7]+
00000A42 3D40 FFFC move.w [A6 - 0x4], D0
00000A46 302E FFFE move.w D0, [A6 - 0x2]
00000A4A 4EAD 003A jsr [A5 + 0x3A /* export_3 */]
00000A4E 0001 0003 ori.b D1, 0x3
00000A52 00BA 0006 0038 004E ori.l [PC + 0x4E /* 00000AA2, value 0x60000068 '`\0\0h', cstring "`" */], 0x60038
00000A5A 0C6E 0001 FFFC cmpi.w [A6 - 0x4], 0x1
00000A60 6610 bne +0x12 /* 00000A72 */
00000A62 4267 clr.w -[A7]
00000A64 3F3C 00C8 move.w -[A7], 0xC8
00000A68 42A7 clr.l -[A7]
00000A6A A985 syscall Alert
00000A6C 301F move.w D0, [A7]+
00000A6E 6000 009C bra +0x9E /* 00000B0C */
label00000A72:
00000A72 2F2D FD4C move.l -[A7], [A5 - 0x2B4]
00000A76 3F2E FFFC move.w -[A7], [A6 - 0x4]
00000A7A 486E FEFC pea.l [A6 - 0x104]
00000A7E A946 syscall GetMenuItemText/GetItem
00000A80 4267 clr.w -[A7]
00000A82 486E FEFC pea.l [A6 - 0x104]
00000A86 A9B6 syscall OpenDeskAcc
00000A88 301F move.w D0, [A7]+
00000A8A 6000 0080 bra +0x82 /* 00000B0C */
00000A8E 0C6E 0001 FFFC cmpi.w [A6 - 0x4], 0x1
00000A94 6608 bne +0xA /* 00000A9E */
00000A96 4EBA F8A2 jsr [PC - 0x75E /* 0000033A */]
00000A9A 6000 0070 bra +0x72 /* 00000B0C */
label00000A9E:
00000A9E 4EBA FD62 jsr [PC - 0x29E /* 00000802 */]
00000AA2 6000 0068 bra +0x6A /* 00000B0C */
00000AA6 302E FFFC move.w D0, [A6 - 0x4]
00000AAA 4EAD 003A jsr [A5 + 0x3A /* export_3 */]
00000AAE 0001 0006 ori.b D1, 0x6
00000AB2 0040 000C ori.w D0, 0xC
00000AB6 003C 0010 ori.b ccr, 16
00000ABA 001A 0020 ori.b [A2]+, 0x20 /* ' ' */
00000ABE 002A 3F3C 0005 ori.b [A2 + 0x5], 0x3C /* '<' */
00000AC4 A9C8 syscall SysBeep
00000AC6 602A bra +0x2C /* 00000AF2 */
00000AC8 2F2D FD68 move.l -[A7], [A5 - 0x298]
00000ACC A9D6 syscall TECut
00000ACE 4EBA 004C jsr [PC + 0x4C /* 00000B1C */]
00000AD2 601E bra +0x20 /* 00000AF2 */
00000AD4 2F2D FD68 move.l -[A7], [A5 - 0x298]
00000AD8 A9D5 syscall TECopy
00000ADA 6016 bra +0x18 /* 00000AF2 */
00000ADC 2F2D FD68 move.l -[A7], [A5 - 0x298]
00000AE0 A9DB syscall TEPaste
00000AE2 4EBA 0038 jsr [PC + 0x38 /* 00000B1C */]
00000AE6 600A bra +0xC /* 00000AF2 */
00000AE8 2F2D FD68 move.l -[A7], [A5 - 0x298]
00000AEC A9D7 syscall TEDelete
00000AEE 4EBA 002C jsr [PC + 0x2C /* 00000B1C */]
label00000AF2:
00000AF2 42A7 clr.l -[A7]
00000AF4 A924 syscall FrontWindow
00000AF6 205F movea.l A0, [A7]+
00000AF8 B1ED FD3C cmpa.l A0, [A5 - 0x2C4]
00000AFC 670E beq +0x10 /* 00000B0C */
00000AFE 4267 clr.w -[A7]
00000B00 302E FFFC move.w D0, [A6 - 0x4]
00000B04 5340 subq.w D0, 1
00000B06 3F00 move.w -[A7], D0
00000B08 A9C2 syscall SysEdit
00000B0A 101F move.b D0, [A7]+
label00000B0C:
00000B0C 4267 clr.w -[A7]
00000B0E A938 syscall HiliteMenu
00000B10 4E5E unlink A6
00000B12 4E75 rts
00000B14 444F neg.w A7
00000B16 4D45 chk.w D6, D5
00000B18 4E55 2020 link A5, -0xFFFFDFE0
fn00000B1C:
00000B1C 2F2D FD44 move.l -[A7], [A5 - 0x2BC]
00000B20 4267 clr.w -[A7]
00000B22 A95D syscall HiliteControl
00000B24 7001 moveq.l D0, 0x01
00000B26 1B40 FD58 move.b [A5 - 0x2A8], D0
00000B2A 4E75 rts
fn00000B2C:
00000B2C 2F2D FD44 move.l -[A7], [A5 - 0x2BC]
00000B30 3F3C 00FF move.w -[A7], 0xFF
00000B34 A95D syscall HiliteControl
00000B36 422D FD58 clr.b [A5 - 0x2A8]
00000B3A 4E75 rts
fn00000B3C:
00000B3C 4E56 FFF8 link A6, -0x0008
00000B40 2F03 move.l -[A7], D3
00000B42 306D FF8E movea.w A0, [A5 - 0x72]
00000B46 2008 move.l D0, A0
00000B48 81FC 0002 divs.w D0, 0x2
00000B4C 322D FF8C move.w D1, [A5 - 0x74]
00000B50 0641 0014 addi.w D1, 0x14
00000B54 48C1 ext.l D1
00000B56 83FC 0002 divs.w D1, 0x2
00000B5A 306D FF8E movea.w A0, [A5 - 0x72]
00000B5E 2408 move.l D2, A0
00000B60 85FC 0002 divs.w D2, 0x2
00000B64 362D FF8C move.w D3, [A5 - 0x74]
00000B68 0643 0014 addi.w D3, 0x14
00000B6C 48C3 ext.l D3
00000B6E 87FC 0002 divs.w D3, 0x2
00000B72 486E FFF8 pea.l [A6 - 0x8]
00000B76 0640 FF24 addi.w D0, 0xFF24
00000B7A 3F00 move.w -[A7], D0
00000B7C 0641 FF7E addi.w D1, 0xFF7E
00000B80 3F01 move.w -[A7], D1
00000B82 0642 00DC addi.w D2, 0xDC
00000B86 3F02 move.w -[A7], D2
00000B88 0643 0082 addi.w D3, 0x82
00000B8C 3F03 move.w -[A7], D3
00000B8E A8A7 syscall SetRect
00000B90 42A7 clr.l -[A7]
00000B92 42A7 clr.l -[A7]
00000B94 486E FFF8 pea.l [A6 - 0x8]
00000B98 486D FEA4 pea.l [A5 - 0x15C]
00000B9C 4267 clr.w -[A7]
00000B9E 3F3C 0003 move.w -[A7], 0x3
00000BA2 4878 FFFF push.l 0xFFFF
00000BA6 4267 clr.w -[A7]
00000BA8 42A7 clr.l -[A7]
00000BAA A913 syscall NewWindow
00000BAC 205F movea.l A0, [A7]+
00000BAE 2B48 FD3C move.l [A5 - 0x2C4], A0
00000BB2 2F2D FD3C move.l -[A7], [A5 - 0x2C4]
00000BB6 A873 syscall SetPort
00000BB8 4267 clr.w -[A7]
00000BBA A887 syscall TextFont
00000BBC 486E FFF8 pea.l [A6 - 0x8]
00000BC0 3F3C 012C move.w -[A7], 0x12C
00000BC4 3F3C 0050 move.w -[A7], 0x50 /* 'P' */
00000BC8 3F3C 017C move.w -[A7], 0x17C
00000BCC 3F3C 0064 move.w -[A7], 0x64 /* 'd' */
00000BD0 A8A7 syscall SetRect
00000BD2 42A7 clr.l -[A7]
00000BD4 2F2D FD3C move.l -[A7], [A5 - 0x2C4]
00000BD8 486E FFF8 pea.l [A6 - 0x8]
00000BDC 486D FEA6 pea.l [A5 - 0x15A]
00000BE0 1F3C 0001 move.b -[A7], 0x1
00000BE4 4267 clr.w -[A7]
00000BE6 4267 clr.w -[A7]
00000BE8 4267 clr.w -[A7]
00000BEA 4267 clr.w -[A7]
00000BEC 42A7 clr.l -[A7]
00000BEE A954 syscall NewControl
00000BF0 205F movea.l A0, [A7]+
00000BF2 2B48 FD40 move.l [A5 - 0x2C0], A0
00000BF6 486E FFF8 pea.l [A6 - 0x8]
00000BFA 3F3C 012C move.w -[A7], 0x12C
00000BFE 3F3C 0079 move.w -[A7], 0x79 /* 'y' */
00000C02 3F3C 017C move.w -[A7], 0x17C
00000C06 3F3C 008D move.w -[A7], 0x8D
00000C0A A8A7 syscall SetRect
00000C0C 42A7 clr.l -[A7]
00000C0E 2F2D FD3C move.l -[A7], [A5 - 0x2C4]
00000C12 486E FFF8 pea.l [A6 - 0x8]
00000C16 486D FEAC pea.l [A5 - 0x154]
00000C1A 1F3C 0001 move.b -[A7], 0x1
00000C1E 4267 clr.w -[A7]
00000C20 4267 clr.w -[A7]
00000C22 4267 clr.w -[A7]
00000C24 4267 clr.w -[A7]
00000C26 42A7 clr.l -[A7]
00000C28 A954 syscall NewControl
00000C2A 205F movea.l A0, [A7]+
00000C2C 2B48 FD44 move.l [A5 - 0x2BC], A0
00000C30 486E FFF8 pea.l [A6 - 0x8]
00000C34 3F3C 012C move.w -[A7], 0x12C
00000C38 3F3C 00A2 move.w -[A7], 0xA2
00000C3C 3F3C 017C move.w -[A7], 0x17C
00000C40 3F3C 00B6 move.w -[A7], 0xB6
00000C44 A8A7 syscall SetRect
00000C46 42A7 clr.l -[A7]
00000C48 2F2D FD3C move.l -[A7], [A5 - 0x2C4]
00000C4C 486E FFF8 pea.l [A6 - 0x8]
00000C50 486D FEB2 pea.l [A5 - 0x14E]
00000C54 1F3C 0001 move.b -[A7], 0x1
00000C58 4267 clr.w -[A7]
00000C5A 4267 clr.w -[A7]
00000C5C 4267 clr.w -[A7]
00000C5E 4267 clr.w -[A7]
00000C60 42A7 clr.l -[A7]
00000C62 A954 syscall NewControl
00000C64 205F movea.l A0, [A7]+
00000C66 2B48 FD48 move.l [A5 - 0x2B8], A0
00000C6A 261F move.l D3, [A7]+
00000C6C 4E5E unlink A6
00000C6E 4E75 rts
00000C70 4D41 chk.w D6, D1
00000C72 4B45 chk.w D5, D5
00000C74 5749 subq.w A1, 3
00000C76 4E44 trap 4
fn00000C78:
00000C78 4E56 FEFE link A6, -0x0102
00000C7C 4A6E 0008 tst.w [A6 + 0x8]
00000C80 6700 00A2 beq +0xA4 /* 00000D24 */
00000C84 306E 0008 movea.w A0, [A6 + 0x8]
00000C88 2F08 move.l -[A7], A0
00000C8A 486E FF00 pea.l [A6 - 0x100]
00000C8E 4EBA 0388 jsr [PC + 0x388 /* 00001018 */]
00000C92 302E 0008 move.w D0, [A6 + 0x8]
00000C96 4EAD 002A jsr [A5 + 0x2A /* export_1 */]
00000C9A 0007 001E ori.b D7, 0x1E
00000C9E FFD4 .invalid <<F/7/7>>
00000CA0 001A FFD2 ori.b [A2]+, 0xD2
00000CA4 0026 FFDC ori.b -[A6], 0xDC
00000CA8 0022 FFD9 ori.b -[A2], 0xD9
00000CAC 002E FFDE 003A ori.b [A6 + 0x3A], 0xDE
00000CB2 FF94 .invalid <<F/6/7>>
00000CB4 0046 FFFF ori.w D6, 0xFFFF
00000CB8 0052 486D ori.w [A2], 0x486D /* 'Hm' */
00000CBC FEB8 486E .extension 0xEB8 <<F/2-3/7>> // unimplemented
00000CC0 FF00 .extension 0xF00 <<F/4-5/7>> // unimplemented
00000CC2 42A7 clr.l -[A7]
00000CC4 42A7 clr.l -[A7]
00000CC6 A98B syscall ParamText
00000CC8 604E bra +0x50 /* 00000D18 */
00000CCA 486D FECC pea.l [A5 - 0x134]
00000CCE 486E FF00 pea.l [A6 - 0x100]
00000CD2 42A7 clr.l -[A7]
00000CD4 42A7 clr.l -[A7]
00000CD6 A98B syscall ParamText
00000CD8 603E bra +0x40 /* 00000D18 */
00000CDA 486D FEE0 pea.l [A5 - 0x120]
00000CDE 486E FF00 pea.l [A6 - 0x100]
00000CE2 42A7 clr.l -[A7]
00000CE4 42A7 clr.l -[A7]
00000CE6 A98B syscall ParamText
00000CE8 602E bra +0x30 /* 00000D18 */
00000CEA 486D FEF2 pea.l [A5 - 0x10E]
00000CEE 486E FF00 pea.l [A6 - 0x100]
00000CF2 42A7 clr.l -[A7]
00000CF4 42A7 clr.l -[A7]
00000CF6 A98B syscall ParamText
00000CF8 601E bra +0x20 /* 00000D18 */
00000CFA 486D FF02 pea.l [A5 - 0xFE]
00000CFE 486E FF00 pea.l [A6 - 0x100]
00000D02 42A7 clr.l -[A7]
00000D04 42A7 clr.l -[A7]
00000D06 A98B syscall ParamText
00000D08 600E bra +0x10 /* 00000D18 */
00000D0A 486D FF18 pea.l [A5 - 0xE8]
00000D0E 486E FF00 pea.l [A6 - 0x100]
00000D12 42A7 clr.l -[A7]
00000D14 42A7 clr.l -[A7]
00000D16 A98B syscall ParamText
label00000D18:
00000D18 4267 clr.w -[A7]
00000D1A 3F3C 0064 move.w -[A7], 0x64 /* 'd' */
00000D1E 42A7 clr.l -[A7]
00000D20 A988 syscall CautionAlert
00000D22 301F move.w D0, [A7]+
label00000D24:
00000D24 4E5E unlink A6
00000D26 4E75 rts
00000D28 4348 chk.w D1, A0
00000D2A 4543 chk.w D2, D3
00000D2C 4B45 chk.w D5, D5
00000D2E 5252 addq.w [A2], 1
fn00000D30:
00000D30 4E56 FFF8 link A6, -0x0008
00000D34 486D FFFC pea.l [A5 - 0x4]
00000D38 A86E syscall InitGraf
00000D3A A8FE syscall InitFonts
00000D3C A912 syscall InitWindows
00000D3E A930 syscall InitMenus
00000D40 A9CC syscall TEInit
00000D42 42A7 clr.l -[A7]
00000D44 A97B syscall InitDialogs
00000D46 A850 syscall InitCursor
00000D48 42A7 clr.l -[A7]
00000D4A 3F3C 0001 move.w -[A7], 0x1
00000D4E A9BF syscall GetRMenu
00000D50 205F movea.l A0, [A7]+
00000D52 2B48 FD4C move.l [A5 - 0x2B4], A0
00000D56 2F2D FD4C move.l -[A7], [A5 - 0x2B4]
00000D5A 4879 4452 5652 push.l 0x44525652 /* 'DRVR' */
00000D60 A94D syscall AppendResMenu/AddResMenu
00000D62 2F2D FD4C move.l -[A7], [A5 - 0x2B4]
00000D66 4267 clr.w -[A7]
00000D68 A935 syscall InsertMenu
00000D6A 42A7 clr.l -[A7]
00000D6C 3F3C 0002 move.w -[A7], 0x2
00000D70 A9BF syscall GetRMenu
00000D72 205F movea.l A0, [A7]+
00000D74 2B48 FD50 move.l [A5 - 0x2B0], A0
00000D78 2F2D FD50 move.l -[A7], [A5 - 0x2B0]
00000D7C 4267 clr.w -[A7]
00000D7E A935 syscall InsertMenu
00000D80 42A7 clr.l -[A7]
00000D82 3F3C 0003 move.w -[A7], 0x3
00000D86 A9BF syscall GetRMenu
00000D88 205F movea.l A0, [A7]+
00000D8A 2B48 FD54 move.l [A5 - 0x2AC], A0
00000D8E 2F2D FD54 move.l -[A7], [A5 - 0x2AC]
00000D92 4267 clr.w -[A7]
00000D94 A935 syscall InsertMenu
00000D96 A937 syscall DrawMenuBar
00000D98 4EBA FDA2 jsr [PC - 0x25E /* 00000B3C */]
00000D9C 4EBA FD8E jsr [PC - 0x272 /* 00000B2C */]
00000DA0 486E FFF8 pea.l [A6 - 0x8]
00000DA4 3F3C 0032 move.w -[A7], 0x32 /* '2' */
00000DA8 3F3C 0050 move.w -[A7], 0x50 /* 'P' */
00000DAC 3F3C 0096 move.w -[A7], 0x96
00000DB0 3F3C 0063 move.w -[A7], 0x63 /* 'c' */
00000DB4 A8A7 syscall SetRect
00000DB6 486E FFF8 pea.l [A6 - 0x8]
00000DBA 3F3C 0002 move.w -[A7], 0x2
00000DBE 3F3C 0002 move.w -[A7], 0x2
00000DC2 A8A9 syscall InsetRect
00000DC4 42A7 clr.l -[A7]
00000DC6 486E FFF8 pea.l [A6 - 0x8]
00000DCA 486E FFF8 pea.l [A6 - 0x8]
00000DCE A9D2 syscall TENew
00000DD0 205F movea.l A0, [A7]+
00000DD2 2B48 FD5C move.l [A5 - 0x2A4], A0
00000DD6 486E FFF8 pea.l [A6 - 0x8]
00000DDA 3F3C 0032 move.w -[A7], 0x32 /* '2' */
00000DDE 3F3C 0079 move.w -[A7], 0x79 /* 'y' */
00000DE2 3F3C 0096 move.w -[A7], 0x96
00000DE6 3F3C 008C move.w -[A7], 0x8C
00000DEA A8A7 syscall SetRect
00000DEC 486E FFF8 pea.l [A6 - 0x8]
00000DF0 3F3C 0002 move.w -[A7], 0x2
00000DF4 3F3C 0002 move.w -[A7], 0x2
00000DF8 A8A9 syscall InsetRect
00000DFA 42A7 clr.l -[A7]
00000DFC 486E FFF8 pea.l [A6 - 0x8]
00000E00 486E FFF8 pea.l [A6 - 0x8]
00000E04 A9D2 syscall TENew
00000E06 205F movea.l A0, [A7]+
00000E08 2B48 FD60 move.l [A5 - 0x2A0], A0
00000E0C 486E FFF8 pea.l [A6 - 0x8]
00000E10 3F3C 0032 move.w -[A7], 0x32 /* '2' */
00000E14 3F3C 00A2 move.w -[A7], 0xA2
00000E18 3F3C 0096 move.w -[A7], 0x96
00000E1C 3F3C 00B5 move.w -[A7], 0xB5
00000E20 A8A7 syscall SetRect
00000E22 486E FFF8 pea.l [A6 - 0x8]
00000E26 3F3C 0002 move.w -[A7], 0x2
00000E2A 3F3C 0002 move.w -[A7], 0x2
00000E2E A8A9 syscall InsetRect
00000E30 42A7 clr.l -[A7]
00000E32 486E FFF8 pea.l [A6 - 0x8]
00000E36 486E FFF8 pea.l [A6 - 0x8]
00000E3A A9D2 syscall TENew
00000E3C 205F movea.l A0, [A7]+
00000E3E 2B48 FD64 move.l [A5 - 0x29C], A0
00000E42 7001 moveq.l D0, 0x01
00000E44 3B40 FE82 move.w [A5 - 0x17E], D0
00000E48 2B6D FD5C FD68 move.l [A5 - 0x298], [A5 - 0x2A4]
00000E4E 2F2D FD68 move.l -[A7], [A5 - 0x298]
00000E52 A9D8 syscall TEActivate
00000E54 426D FD5A clr.w [A5 - 0x2A6]
00000E58 42AD FE6E clr.l [A5 - 0x192]
00000E5C 4EBA F4DC jsr [PC - 0xB24 /* 0000033A */]
00000E60 4267 clr.w -[A7]
00000E62 4EBA 01C6 jsr [PC + 0x1C6 /* 0000102A */]
00000E66 301F move.w D0, [A7]+
00000E68 4E5E unlink A6
00000E6A 4E75 rts
00000E6C 494E chk.w D4, A6
00000E6E 4954 chk.w D4, [A4]
00000E70 2020 move.l D0, -[A0]
00000E72 2020 move.l D0, -[A0]
fn00000E74:
00000E74 201F move.l D0, [A7]+
00000E76 41FA 0010 lea.l A0, [PC + 0x10 /* 00000E88, value 0x61EA61E8 */]
00000E7A 9048 sub.w D0, A0
00000E7C E248 lsr D0.w, 1
00000E7E 225F movea.l A1, [A7]+
00000E80 3F00 move.w -[A7], D0
00000E82 2F09 move.l -[A7], A1
00000E84 ADEA syscall Pack3, auto_pop
00000E86 61EC bsr -0x12 /* 00000E74 */
00000E88 61EA bsr -0x14 /* 00000E74 */
fn00000E8A:
00000E8A 61E8 bsr -0x16 /* 00000E74 */
00000E8C 61E6 bsr -0x18 /* 00000E74 */
00000E8E 61E4 bsr -0x1A /* 00000E74 */
label00000E90:
00000E90 7000 moveq.l D0, 0x00
label00000E92:
00000E92 2F09 move.l -[A7], A1
label00000E94:
00000E94 31C0 0220 move.w [0x00000220 /* MemErr */], D0
00000E98 4E75 rts
00000E9A 7000 moveq.l D0, 0x00
00000E9C 60F6 bra -0x8 /* 00000E94 */
fn00000E9E:
00000E9E 225F movea.l A1, [A7]+
00000EA0 201F move.l D0, [A7]+
00000EA2 A11E syscall NewPtr, flags=1
00000EA4 2E88 move.l [A7], A0
00000EA6 4EFA FFEA jmp [PC - 0x16 /* 00000E92 */]
fn00000EAA:
00000EAA 225F movea.l A1, [A7]+
00000EAC 205F movea.l A0, [A7]+
00000EAE A01F syscall DisposPtr/DisposePtr
00000EB0 4EFA FFE0 jmp [PC - 0x20 /* 00000E92 */]
fn00000EB4:
00000EB4 225F movea.l A1, [A7]+
00000EB6 205F movea.l A0, [A7]+
00000EB8 A021 syscall GetPtrSize
00000EBA 2E80 move.l [A7], D0
00000EBC 6A06 bpl +0x8 /* 00000EC4 */
00000EBE 4297 clr.l [A7]
00000EC0 4EFA FFD0 jmp [PC - 0x30 /* 00000E92 */]
label00000EC4:
00000EC4 4EFA FFCA jmp [PC - 0x36 /* 00000E90 */]
fn00000EC8:
00000EC8 225F movea.l A1, [A7]+
00000ECA 205F movea.l A0, [A7]+
00000ECC A029 syscall HLock
00000ECE 4EFA FFC2 jmp [PC - 0x3E /* 00000E92 */]
fn00000ED2:
00000ED2 4E56 FFCE link A6, -0x0032
00000ED6 41EE FFCE lea.l A0, [A6 - 0x32]
00000EDA 216E 000E 0012 move.l [A0 + 0x12], [A6 + 0xE]
00000EE0 316E 000C 0016 move.w [A0 + 0x16], [A6 + 0xC]
00000EE6 4228 001A clr.b [A0 + 0x1A]
00000EEA 4228 001B clr.b [A0 + 0x1B]
00000EEE 42A8 001C clr.l [A0 + 0x1C]
00000EF2 A000 syscall Open/PBHOpen/HOpen
00000EF4 226E 0008 movea.l A1, [A6 + 0x8]
00000EF8 32A8 0018 move.w [A1], [A0 + 0x18]
00000EFC 3D40 0012 move.w [A6 + 0x12], D0
00000F00 4E5E unlink A6
00000F02 205F movea.l A0, [A7]+
00000F04 DEFC 000A add.w A7, 0xA /* '\n' */
00000F08 4ED0 jmp [A0]
fn00000F0A:
00000F0A 4E56 FFCE link A6, -0x0032
00000F0E 41EE FFCE lea.l A0, [A6 - 0x32]
00000F12 316E 0008 0018 move.w [A0 + 0x18], [A6 + 0x8]
00000F18 A001 syscall Close
00000F1A 3D40 000A move.w [A6 + 0xA], D0
00000F1E 4E5E unlink A6
00000F20 205F movea.l A0, [A7]+
00000F22 548F addq.l A7, 2
00000F24 4ED0 jmp [A0]
fn00000F26:
00000F26 51C1 sf D1
00000F28 6002 bra +0x4 /* 00000F2C */
fn00000F2A:
00000F2A 50C1 st D1
label00000F2C:
00000F2C 4E56 FFCE link A6, -0x0032
00000F30 41EE FFCE lea.l A0, [A6 - 0x32]
00000F34 216E 0008 0020 move.l [A0 + 0x20], [A6 + 0x8]
00000F3A 316E 0010 0018 move.w [A0 + 0x18], [A6 + 0x10]
00000F40 226E 000C movea.l A1, [A6 + 0xC]
00000F44 2151 0024 move.l [A0 + 0x24], [A1]
00000F48 4268 002C clr.w [A0 + 0x2C]
00000F4C 42A8 002E clr.l [A0 + 0x2E]
00000F50 4A01 tst.b D1
00000F52 6604 bne +0x6 /* 00000F58 */
00000F54 A002 syscall Read
00000F56 6002 bra +0x4 /* 00000F5A */
label00000F58:
00000F58 A003 syscall Write
label00000F5A:
00000F5A 3D40 0012 move.w [A6 + 0x12], D0
00000F5E 226E 000C movea.l A1, [A6 + 0xC]
00000F62 22A8 0028 move.l [A1], [A0 + 0x28]
00000F66 4E5E unlink A6
00000F68 225F movea.l A1, [A7]+
00000F6A DEFC 000A add.w A7, 0xA /* '\n' */
00000F6E 4ED1 jmp [A1]
fn00000F70:
00000F70 4E56 FFC0 link A6, -0x0040
00000F74 41EE FFC0 lea.l A0, [A6 - 0x40]
00000F78 216E 000C 0012 move.l [A0 + 0x12], [A6 + 0xC]
00000F7E A014 syscall GetVol/PBHGetVol/HGetVol
00000F80 3D40 0010 move.w [A6 + 0x10], D0
00000F84 226E 0008 movea.l A1, [A6 + 0x8]
00000F88 32A8 0016 move.w [A1], [A0 + 0x16]
00000F8C 4E5E unlink A6
00000F8E 225F movea.l A1, [A7]+
00000F90 508F addq.l A7, 8
00000F92 4ED1 jmp [A1]
fn00000F94:
00000F94 4E56 FFC0 link A6, -0x0040
00000F98 41EE FFC0 lea.l A0, [A6 - 0x40]
00000F9C 216E 000A 0012 move.l [A0 + 0x12], [A6 + 0xA]
00000FA2 316E 0008 0016 move.w [A0 + 0x16], [A6 + 0x8]
00000FA8 A015 syscall SetVol/PBHSetVol/HSetVol
00000FAA 3D40 000E move.w [A6 + 0xE], D0
00000FAE 4E5E unlink A6
00000FB0 225F movea.l A1, [A7]+
00000FB2 5C8F addq.l A7, 6
00000FB4 4ED1 jmp [A1]
fn00000FB6:
00000FB6 4E56 FFCE link A6, -0x0032
00000FBA 41EE FFCE lea.l A0, [A6 - 0x32]
00000FBE 316E 000C 0018 move.w [A0 + 0x18], [A6 + 0xC]
00000FC4 A011 syscall GetEOF
00000FC6 3D40 000E move.w [A6 + 0xE], D0
00000FCA 226E 0008 movea.l A1, [A6 + 0x8]
00000FCE 22A8 001C move.l [A1], [A0 + 0x1C]
00000FD2 4E5E unlink A6
00000FD4 225F movea.l A1, [A7]+
00000FD6 5C8F addq.l A7, 6
00000FD8 4ED1 jmp [A1]
fn00000FDA:
00000FDA 4E56 FFCE link A6, -0x0032
00000FDE 41EE FFCE lea.l A0, [A6 - 0x32]
00000FE2 316E 000E 0018 move.w [A0 + 0x18], [A6 + 0xE]
00000FE8 316E 000C 002C move.w [A0 + 0x2C], [A6 + 0xC]
00000FEE 216E 0008 002E move.l [A0 + 0x2E], [A6 + 0x8]
00000FF4 A044 syscall SetFPos
00000FF6 3D40 0010 move.w [A6 + 0x10], D0
00000FFA 4E5E unlink A6
00000FFC 225F movea.l A1, [A7]+
00000FFE 508F addq.l A7, 8
00001000 4ED1 jmp [A1]
fn00001002:
00001002 206F 0008 movea.l A0, [A7 + 0x8]
00001006 3F3C 0001 move.w -[A7], 0x1
0000100A A9EE syscall Pack7/DecStr68K
0000100C 206F 0004 movea.l A0, [A7 + 0x4]
00001010 2080 move.l [A0], D0
00001012 205F movea.l A0, [A7]+
00001014 504F addq.w A7, 8
00001016 4ED0 jmp [A0]
fn00001018:
00001018 206F 0004 movea.l A0, [A7 + 0x4]
0000101C 202F 0008 move.l D0, [A7 + 0x8]
00001020 4267 clr.w -[A7]
00001022 A9EE syscall Pack7/DecStr68K
00001024 205F movea.l A0, [A7]+
00001026 504F addq.w A7, 8
00001028 4ED0 jmp [A0]
fn0000102A:
0000102A 42A7 clr.l -[A7]
0000102C 594F subq.w A7, 4
0000102E 2F38 0AB4 move.l -[A7], [0x00000AB4 /* TEScrpHandle */]
00001032 2F3C 5445 5854 move.l -[A7], 0x54455854 /* 'TEXT' */
00001038 486F 000C pea.l [A7 + 0xC]
0000103C A9FD syscall GetScrap
0000103E 201F move.l D0, [A7]+
00001040 584F addq.w A7, 4
00001042 6A0A bpl +0xC /* 0000104E */
00001044 3F40 0004 move.w [A7 + 0x4], D0
00001048 4278 0AB0 clr.w [0x00000AB0 /* TEScrpLength */]
0000104C 6008 bra +0xA /* 00001056 */
label0000104E:
0000104E 426F 0004 clr.w [A7 + 0x4]
00001052 31C0 0AB0 move.w [0x00000AB0 /* TEScrpLength */], D0
label00001056:
00001056 4E75 rts
fn00001058:
00001058 2078 0AB4 movea.l A0, [0x00000AB4 /* TEScrpHandle */]
0000105C A029 syscall HLock
0000105E 594F subq.w A7, 4
00001060 7000 moveq.l D0, 0x00
00001062 3038 0AB0 move.w D0, [0x00000AB0 /* TEScrpLength */]
00001066 2F00 move.l -[A7], D0
00001068 2F3C 5445 5854 move.l -[A7], 0x54455854 /* 'TEXT' */
0000106E 2F10 move.l -[A7], [A0]
00001070 A9FE syscall PutScrap
00001072 544F addq.w A7, 2
00001074 3F5F 0004 move.w [A7 + 0x4], [A7]+
00001078 2078 0AB4 movea.l A0, [0x00000AB4 /* TEScrpHandle */]
0000107C A02A syscall HUnlock
0000107E 4E75 rts